#include "MyNet.h"
#include <iostream>
using std::string;

class TransCode {
    private:
        int csock;
        MyNetIO io;
    public:
        TransCode(int tsock);
        TransCode();
        ~TransCode();
        void Open(int tsock);
        void Close(void);
        int transFile(char* file);
        int putLine(char* contex);
        string getLine(int& flag);
};

